package cn.tedu.home1ess.admin.navgation.pojo.param;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class NavgationAddParam implements Serializable {


    @NotBlank(message = "导航名称不能为空")
    @ApiModelProperty(value = "导航名称",required = true,dataType = "string")
    String name;//导航名称

    @NotBlank(message = "导航级别不能为空")
    @ApiModelProperty(value = "导航级别",required = true,dataType = "int")
    Integer level;//导航级别

    @NotBlank(message = "跳转地址不能为空")
    @ApiModelProperty(value = "跳转地址",required = true,dataType = "string")
    String url;//跳转地址











}
